var p = 3.14;
var r = prompt("请输入半径");
var r2 = r * 2 * p;
var s = r * r * p;
document.querySelector("#r").value = r;
document.querySelector("#r2").value = r2;
document.querySelector("#s").value = s;
